
{template "content","head","sysx_m"}
<div class="bg pad15">
    <div class="nytitle">
        <a href="/">首页</a>
        {catpos($catid,$s='>')}
    </div>
	<!-- {$CATEGORYS[$catid][parentid]} {$catid} -->
    <div class="nytitle" style="background: none;color:#fff;height: auto;margin-left:auto;padding: 0 2% 1% 2%">
        {pc:content action="category" catid="2" order="listorder asc"}
        {loop $data $r}
        <a  href="{$r[url]}" class="layui-btn layui-btn-mini" style="display:inline-block;width:24%;color:#fff;background:#ccc;margin-top: 5px;margin-left:0 !important;{if $catid==$r[catid]}background-color:#2f82ff;color:#fff{/if}">{str_cut($r[catname],15,'')}</a>
        {/loop}
        {/pc}
    </div>

    {pc:content action="lists" catid="$catid" num="7" page="$_GET[page]" moreinfo="1" order="updatetime DESC"}
    {loop $data $r}
    <div class="zj1" ><span><img src="{if $r[thumb]}{$r[thumb]}{else}{IMG_PATH}wutu.jpg{/if}" width="120" height="100" /></span>
        <h3 style="height: 40px;overflow:hidden">{$r[title]}</h3>
        <p>
            {str_cut(strip_tags($r[content]),120)}
            <br><a href="{$r[url]}">【详情】</a></p>
        <div style="clear:both;"></div>
    </div>
    {/loop}
    {/pc}
</div>
<div style="width: 80%;margin:10px auto">{$pages}</div>
{template "content","tj_pro","sysx_m"}
{template "content","foot","sysx_m"}
